package com.yhos.platform.oopston.core.constant;

public class OperatorConstant {

    //请求成功
    public final static String RETURN_SUCCESS = "0";

    //请求失败
    public final static String RETURN_FAILURE = "1";

    //请求成功通用消息
    public final static String OPERATOR_SUCCESS = "操作成功";

    //请求失败通用消息
    public final static String OPERATOR_FAILURE = "操作失败";

    //系统错误
    public final static String ERROR_CODE_10001 = "ERROR_CODE_10001";

    //业务错误
    public final static String ERROR_CODE_10002 = "ERROR_CODE_10002";

    //Token错误
    public final static String ERROR_CODE_10003 = "ERROR_CODE_10003";

    //权限错误
    public final static String ERROR_CODE_10004 = "ERROR_CODE_10004";

    //幂等错误
    public final static String ERROR_CODE_10005 = "ERROR_CODE_10005";

    //环境
    public final static String ENVIRONMENT = "environment";

    //请求IP
    public final static String REQUEST_IP = "requestIp";

    //设备信息
    public final static String APPLICATION_INFO = "applicationInfo";

    //平台
    public final static String PLATFORM = "platform";

    //来源
    public final static String SOURCE = "source";

    //机型
    public final static String MODEL = "model";

    //版本
    public final static String VERSION = "version";

    //系统
    public final static String OS = "os";

    //MAC地址
    public final static String MAC = "mac";

    //请求来源，用于记录请求的来源
    public final static String FROM_SOURCE = "fromSource";

    //请求序列号，用于记录请求完整链路
    public final static String FROM_SOURCE_ID = "fromSourceId";

    //User Token
    public final static String USER_TOKEN = "tk";

    public static final String RESPONSE_TIME = "responseTime";

    public static final String SUCCESS = "success";

    public static final String MESSAGE = "message";

    public static final String REQUEST_UUID = "requestUUID";

    public static final String ERROR_CODE = "errorCode";

    public static final String VERSION_CHOOSE = "serviceversion";

    public static final String MOCK_PRIFIX = "mock-";
}
